package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.member.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.math.BigDecimal;

/**
 * 协议对象 sys_biz_agreement
 *
 * @author wangxin
 * @date 2024-01-03
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_agreement")
public class SysBizAgreement {

    private static final long serialVersionUID = 1L;

    //主键ID
    @TableId(type = IdType.AUTO)
    private Long id;

    //tenantId
    private Long tenantId;

    //用户协议
    @Excel(name = "用户协议")
    private String userAgreement;

    //关于我们
    @Excel(name = "关于我们")
    private String aboutUs;

    //隐私协议
    @Excel(name = "隐私协议")
    private String privacyAgreement;

    //会员招商商品id
    @Excel(name = "会员招商商品id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long courtshipShopId;

    //发展会员封面
    private String memberPic;

    //会员招商介绍
    @Excel(name = "会员招商介绍")
    private String courtshipInfo;

    //海报图片
    @Excel(name = "海报图片")
    private String poster;

    //商品名称
    @TableField(exist = false)
    private String name;

    //商品编号
    @TableField(exist = false)
    private String goodsCode;

    //招商金额
    private BigDecimal courtshipAmount;

    //充值说明
    private String rechargeInfo;

    //售后规则
    private String serviceAgreement;
    /**
     * 注销协议
     */
    private String logoutAgreement;

    /**
     * 售后协议
     */
    private String salesAgreement;
    /**
     * 限制APP购买开始时间
     */
    private String ruleBeginTime;


    /**
     * 限制APP购买结束时间
     */
    private String ruleEndTime;
}
